UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The /etc/smbpasswd file must not have an extended ACL.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22498 GEN006210 SV-46138r1_rule Medium
Description
If the permissions of the "smbpasswd" file are too permissive, it may be maliciously accessed or modified, potentially resulting in the compromise of Samba accounts.
STIG Date
SUSE Linux Enterprise Server v11 for System z 2016-12-20

Details

Check Text ( C-43397r1_chk )
Check the permissions of the Samba password files.

Procedure:
# ls -lL /etc/samba/passdb.tdb /etc/samba/secrets.tdb

If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix Text (F-39480r1_fix)
Remove the extended ACL from the file.
# setfacl --remove-all /etc/samba/passdb.tdb /etc/samba/secrets.tdb